﻿<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
	<title>项目测试</title>
	<style type="text/css">
		#out { padding: 10px; clear: both; }
		button, a { padding: 5px 10px; background: #0088CC; border: 0; color: #FFFFFF; cursor: pointer; }
		button:hover, a:hover { background: #00b7ee; }
		.title { padding: 10px; font-weight: bolder; background: #ddd; }
		#body { width: 600px; height:500px; background: #eee; overflow: auto; float: left; }
		#form { margin-left: 10px; width: 320px; height: 500px; background: #eee; float: left; }
		table { width: 100%; }
		td { text-align: center; }
		#form input, #form textarea { margin: 0 3%; margin-top: 10px; padding: 5px 10px; width: 85%; }
	</style>
</head>
<body>
<button onclick="back();">返回</button>
<div id="out">
	<div id="body">
		<div class="title" style="width: 580px;">接口列表</div>
		<table class="list">
			<thead>
			<tr>
				<th>前台后台</th>
				<th>项目ID</th>
				<th>接口名称</th>
				<th>接口地址</th>
				<th>详情</th>
			</tr>
			</thead>
			<tbody></tbody>
		</table>
	</div>
	<div id="form">
		<div class="title" style="width: 300px;">表单</div>
		<input type="hidden" id="id" value="0"/>
		<input type="text" id="item_id" placeholder="模板ID"/>
		<input type="text" id="client_type" placeholder="用户端类型：1前台，2后台"/>
		<input type="text" id="title" placeholder="接口名称"/>
		<input type="text" id="url" placeholder="请求地址"/>
		<textarea id="req_json" style="height: 100px;" placeholder="请求参数"></textarea>
		<button style="margin: 10px 5%; width: 80%;" onclick="docModify();">保存</button>
	</div>
</div>
</body>
</html>


<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="item_tmp.js"></script>
<script type="text/javascript">
	(function(){
		docList();
	})();
</script>